<template>
  <div class="a">
    <i class="iconfont font">&#xe632;</i>
    <input class="input" type="text" value="12456" />
    <button class="btn">百度一下</button>
  </div>
</template>

<script>
export default {
  name: 'HomeInput'
}
</script>

<style lang="stylus" scoped>
.a {
  height: 1rem;
  line-height: 1rem;
  background: #22DDDD;
  display: flex;
  border: 0.02rem solid #000;
  margin-top: 0.2rem;
  position: relative;

  .input {
    height: 0.7rem;
    width: 4.8rem;
    padding-left: 0.5rem;
    border-radius: 0.1rem;
    margin: auto 0 auto 0.2rem;
  }

  .btn {
    height: 0.7rem;
    width: 1.62rem;
    position: absolute;
    right: 0.2rem;
    top: 0.15rem;
    border-radius: 0.1rem;
    background: #D3DDCC;
  }

  .font {
    position: absolute;
    left: 0.3rem;
    font-size: 0.36rem;
    color: #D5D5D5;
  }
}
</style>
